package com.mall.orders.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mall.model.domain.OmsOrderSetting;
import com.mall.orders.mapper.OmsOrderSettingMapper;
import com.mall.orders.service.OmsOrderSettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 订单设置表(OmsOrderSetting)表服务实现类
 *
 * @author wishmumu
 * @since 2023-03-11 15:42:55
 */
@Service
public class OmsOrderSettingService {

    @Autowired
    private OmsOrderSettingMapper omsOrderSettingMapper;

    public OmsOrderSetting getById(Integer id) {
        return omsOrderSettingMapper.getById(id);
    }

    public void updateById(Integer id, OmsOrderSetting omsOrderSetting) {
        omsOrderSettingMapper.updateById(id, omsOrderSetting);
    }
}

